#!/usr/bin/env bash

make clean
phpize
./configure
make -j6 # 并行编译. 根据电脑cpu核心数填写也可以cpu核心数的两倍, 例如4核 make -j4 make-j8
make install
php tests/test.php

